package com.woniu.exception.coachEnter;

public enum CoachEnterExceptionCode {
    COACH_ENTER_HAD_EXIST(50001, "教练入驻已申请，正在审核，请勿重复申请"),
    COACH_ENTER_STATE_ERROR(50002, "教练入驻申请状态错误"),
    COACH_ENTER_NOT_EXIST(50003, "教练入驻申请不存在");


    private final Integer code;
    private final String message;

    CoachEnterExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
